<%@ Page Language="C#" MasterPageFile="~/Public/Home.master" AutoEventWireup="true" CodeFile="CalculatePostage.aspx.cs" Inherits="Public_CalculatePostage" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="PageContent" Runat="Server">
    <br />
    <asp:Label ID="Label1" runat="server" Font-Size="X-Large" ForeColor="MediumBlue"
        Text="Postage Price Calculator" Font-Bold="True"></asp:Label><br />
    <br />
    <table style="width: 600px">
        <tr>
            <td style="width: 130px" valign="top">
                <asp:Image ID="Image1" runat="server" ImageUrl="~/img/TabArrow.gif" />
                <asp:Label ID="Label2" runat="server" Font-Size="Large" ForeColor="Blue" Text="1. Choose Sending Branch's Name"></asp:Label></td>
            <td style="width: 100px">
                <asp:DropDownList ID="cbxSending" runat="server">
                </asp:DropDownList><br />
                <br />
                <br />
            </td>
        </tr>
        <tr>
            <td style="width: 130px; height: 22px" valign="top">
                <asp:Image ID="Image2" runat="server" ImageUrl="~/img/TabArrow.gif" />
                <asp:Label ID="Label3" runat="server" Font-Size="Large" ForeColor="Blue" Text="2. Choose Destination Branch's Name"></asp:Label></td>
            <td style="width: 100px; height: 22px">
                <asp:DropDownList ID="cbxDestination" runat="server">
                </asp:DropDownList><br />
                <br />
                <br />
            </td>
        </tr>
        <tr>
            <td style="width: 130px" valign="top">
                <asp:Image ID="Image3" runat="server" ImageUrl="~/img/TabArrow.gif" />
                <asp:Label ID="Label4" runat="server" Font-Size="Large" ForeColor="Blue" Text="3. Enter Postage's Weight"></asp:Label></td>
            <td style="width: 100px">
                <asp:TextBox ID="TextBox3" runat="server" MaxLength="10" Width="120px"></asp:TextBox><br />
                <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="TextBox3"
                    ErrorMessage="Postage's Weight cannot be blank!"></asp:RequiredFieldValidator><br />
                <asp:RegularExpressionValidator ID="RegularExpressionValidator3" runat="server" ControlToValidate="TextBox3"
                    ErrorMessage="Postage's Weight must be a number!" ValidationExpression="\d+(.\d+)?"></asp:RegularExpressionValidator></td>
        </tr>
        <tr>
            <td style="width: 130px" valign="top">
                <asp:Image ID="Image4" runat="server" ImageUrl="~/img/TabArrow.gif" />
                <asp:Label ID="Label5" runat="server" Font-Size="Large" ForeColor="Blue" Text="4. Choose Service"></asp:Label></td>
            <td style="width: 100px">
                <asp:DropDownList ID="cbxService" runat="server">
                </asp:DropDownList>
                <br />
                <asp:Label ID="Label6" runat="server" Font-Bold="True" Font-Size="Small" ForeColor="#C00000"
                    Text="(10% Tax is included in Price)"></asp:Label></td>
        </tr>
        <tr>
            <td colspan="2" style="text-align: center">
                &nbsp; &nbsp;
            </td>
        </tr>
        <tr>
            <td colspan="2" style="text-align: center">
                <asp:Button ID="Button1" runat="server" Text="Calculate" OnClick="Button1_Click" /></td>
        </tr>
        <tr>
            <td colspan="2" style="text-align: center">
            </td>
        </tr>
        <tr>
            <td colspan="2" style="text-align: center; height: 80px;">
                <asp:Label ID="Label7" runat="server" Font-Bold="True" Font-Size="Large" ForeColor="Green"></asp:Label></td>
        </tr>
    </table>
    <br />
</asp:Content>

